package com.wva.ffmpeg.utils;

import lombok.Builder;
import lombok.Data;

/**
 * @Author: hong
 * @Date: 2025/2/18 22:13:30
 */
@Data
@Builder
public class OutputVideoOptions {
    /**
     * 输出路径
     */
    private String filename;

    /**
     * 输出的视频编码，如avcodec.AV_CODEC_ID_H264
     */
    private int videoCodec;
    /**
     * 输出的音频编码，如avcodec.AV_CODEC_ID_AAC
     */
    private int audioCodec;

    /**
     * 清晰度
     */
    private Definition definition;

    private int audioChannel;
    /**
     * 输出视频的音频采样率，越高意味着输出的音频质量越好
     */
    private Integer sampleRate;
}
